package com.erp.erp_dao.Inquiry;

import com.erp.erp_entitys.Inquiry.InquiryRecordEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IInquiryRecordDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(InquiryRecordEntity record);

    int insertSelective(InquiryRecordEntity record);

    InquiryRecordEntity selectByPrimaryKey(Integer id);

    List<InquiryRecordEntity> selectRecordByInId(@Param("inId") Integer inId, @Param("frequency") Integer frequency);

    int deleteByIdList(@Param("idList") List<Integer> idList);

    int setMasterRecordByRid(Integer id);
}